package com.wechat;

import com.wechat.enums.Models;

/**
 * 常量
 * 
 * @author 618lf
 */
public interface Cons {

	/**
	 * 系统配置
	 */
	String Storage_Path_Key = "Storage.path";
	String Storage_Path = ".Storage";
	String Network_Model_Key = "settings.network.model";
	String Network_Model = Models.P2P.name();
	String Network_Sers_Key = "settings.network.sers";

	/**
	 * 与主体相关的目录
	 */
	String Storage_Name = "/";
	String Msg_Name = "Msg/beechat";
	String Config_Name = "Config";
	String Temp_Name = "Temp";
	String Emotion_Name = "Emotion";
	String Headimg_Name = "Headimg";
	String Attach_Name = "Attach";
	String Attach_File_Name = "File";
	String Attach_Image_Name = "Image";
	String Attach_Video_Name = "Video";
	String Attach_Thumb_Name = "Thumb";

	/**
	 * 用户ID   :  Pref + MAC + 随机种子
	 * 聊天室ID  :  Pref + MAC + 序号数字 +　@Room
	 */
	String User_Pref = "bc_";
	String ChatRoom_Pref = "cr_";
	// String ID_Separate = "@";
	String ID_ChatRoom = "@Room"; // 聊天室
	String ID_Robot = "@Robot"; // 聊天機器人
	String ID_NotifyMessage = "@notifymessage";// 服务通知
	String ID_FriendMessage = "@friendmessage"; // 朋友推荐消息
	String ID_Placeholder_Foldgroup = "@placeholder_foldgroup"; // 折叠的群聊

	/**
	 * 全局的事件
	 */
	String Event_Menu_Toggle = "Menu:Toggle";
	String Event_Chats_Refresh = "Chats:Refresh";
	String Event_Chat_Select = "Chat:Select";
	String Event_Chat_Reload = "Chat:Reload";
	String Event_Chat_Refresh = "Chat:Refresh";
	String Event_Msg_Recv = "Message:Recv";
	String Event_Msg_Send = "Message:Send";
	String Event_Contact_Select = "Contact:Select";
	String Event_Contact_Refresh = "Contact:Refresh";
	String Event_Contact_Reload = "Contact:Reload";
	
	/**
	 * 特殊的字符
	 */
	String[] Spechars = { "^", ":", "@" };
	String UserNamesSeparateChar = "^";
	String NickNamesSeparateChar = ",";

	/**
	 * 全局的菜单
	 */

	enum Menus {
		Chat,
	}
}
